package com.ruoyi.sign.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.sign.mapper.SignMapper;
import com.ruoyi.sign.domain.Sign;
import com.ruoyi.sign.service.ISignService;

/**
 * signService业务层处理
 * 
 * @author ruoyi
 * @date 2025-05-22
 */
@Service
public class SignServiceImpl implements ISignService 
{
    @Autowired
    private SignMapper signMapper;

    /**
     * 查询sign
     * 
     * @param signId sign主键
     * @return sign
     */
    @Override
    public Sign selectSignBySignId(Long signId)
    {
        return signMapper.selectSignBySignId(signId);
    }

    /**
     * 查询sign列表
     * 
     * @param sign sign
     * @return sign
     */
    @Override
    public List<Sign> selectSignList(Sign sign)
    {
        return signMapper.selectSignList(sign);
    }

    /**
     * 新增sign
     * 
     * @param sign sign
     * @return 结果
     */
    @Override
    public int insertSign(Sign sign)
    {
        return signMapper.insertSign(sign);
    }

    /**
     * 修改sign
     * 
     * @param sign sign
     * @return 结果
     */
    @Override
    public int updateSign(Sign sign)
    {
        return signMapper.updateSign(sign);
    }

    /**
     * 批量删除sign
     * 
     * @param signIds 需要删除的sign主键
     * @return 结果
     */
    @Override
    public int deleteSignBySignIds(Long[] signIds)
    {
        return signMapper.deleteSignBySignIds(signIds);
    }

    /**
     * 删除sign信息
     * 
     * @param signId sign主键
     * @return 结果
     */
    @Override
    public int deleteSignBySignId(Long signId)
    {
        return signMapper.deleteSignBySignId(signId);
    }
}
